package cn.jdy.audit.entity;

import java.io.Serializable;



import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import cn.jdy.common.bo.BaseEntry;
@Entity
@Table(name = "email_record")
public class EmailRecord extends BaseEntry implements Serializable {
  private static final long serialVersionUID = 1L;
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)
  // 根据数据库自动适配 mysql默认自增
  private Integer id; // 主键
  private String user_ip;
  private Integer email_type;
  private String src_account;
  private String dest_account;
  private String email_title;
  private String email_content;
  private Integer add_time;

  private Integer total;
  
  


  public Integer getTotal() {
    return total;
  }
  public void setTotal(Integer total) {
    this.total = total;
  }
  public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getUser_ip() {
    return user_ip;
  }
  public void setUser_ip(String user_ip) {
    this.user_ip = user_ip;
  }
  public Integer getEmail_type() {
    return email_type;
  }
  public void setEmail_type(Integer email_type) {
    this.email_type = email_type;
  }
  public String getSrc_account() {
    return src_account;
  }
  public void setSrc_account(String src_account) {
    this.src_account = src_account;
  }
  public String getDest_account() {
    return dest_account;
  }
  public void setDest_account(String dest_account) {
    this.dest_account = dest_account;
  }
  public String getEmail_title() {
    return email_title;
  }
  public void setEmail_title(String email_title) {
    this.email_title = email_title;
  }
  public String getEmail_content() {
    return email_content;
  }
  public void setEmail_content(String email_content) {
    this.email_content = email_content;
  }
  public Integer getAdd_time() {
    return add_time;
  }
  public void setAdd_time(Integer add_time) {
    this.add_time = add_time;
  }
  
}
